package junit;
import static org.junit.Assert.*;
import geographer.PartitionBar;

import java.awt.Color;
import java.util.ArrayList;

import junit.framework.Assert;

import org.junit.Test;


public class PartitionBarTest {

	@Test
	public void testChangeColors() {
		Color color = Color.red;
		PartitionBar graph = new PartitionBar(1,1,1,new ArrayList(),null);
		Assert.assertEquals(Color.green, graph.changeColors(color));
	}

}
